package com.xnyzc.lhy.mis.entity.result.cms.price;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 价格模板返回对象
 *
 * @author lhy@xnyzc.com
 * @since 2019-08-21
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value = "RriceResults对象", description = "RriceResults对象")
public class RriceResults implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "机构ID")
    private Long officeId;

    @ApiModelProperty(value = "城市ID")
    private Long areaId;

    @ApiModelProperty(value = "城市名称")
    private String areaName;

    @ApiModelProperty(value = "渠道ID")
    private Integer channelId;

    @ApiModelProperty(value = "机构名称")
    private String officeName;

    @ApiModelProperty(value = "可否抢单")
    private Integer robable;

    @ApiModelProperty(value = "ID")
    private Long rulesId;

    @ApiModelProperty(value = "用车时间类型（0：常规、1：休息日）")
    private Integer useTimeType;

    @ApiModelProperty(value = "起步价")
    private BigDecimal startFee;

    @ApiModelProperty(value = "预约起步价")
    private BigDecimal reservationStartFee;

    @ApiModelProperty(value = "起步价里程")
    private Integer startMileage;

    @ApiModelProperty(value = "里程费")
    private BigDecimal mileageFee;

    @ApiModelProperty(value = "时长费")
    private BigDecimal timeFee;

    @ApiModelProperty(value = "远途费")
    private BigDecimal distanceFee;

    @ApiModelProperty(value = "服务费")
    private BigDecimal serviceFee;

    @ApiModelProperty(value = "等待费")
    private BigDecimal awaitFee;

    @ApiModelProperty(value = "平台抽成比例")
    private BigDecimal drawRatio;

    @ApiModelProperty(value = "超出多少时间收取等待费")
    private Integer timeOutAwaitFee;

    @ApiModelProperty(value = "驶出当前城市是否收取时间费(0-不收 1-收)")
    private String isGather;

    @ApiModelProperty(value = "大于多少公里收取空驶费")
    private Integer greaterKilometreEmptyDriving;

    @ApiModelProperty(value = "收取空驶费比例")
    private BigDecimal emptyDrivingProportion;

    @ApiModelProperty(value = "大于多少公里收取远途费")
    private Integer distanceKm;

    @ApiModelProperty(value = "是否默认价格(0-否 1-是)")
    private Integer isDefault;

    @ApiModelProperty(value = "是否默认价格")
    private String isDefaultStr;

    @ApiModelProperty(value = "是否禁用(0-否 1-是)")
    private Integer isDisable;

    private String isDisableStr;

    private String typeTab;

    private Date createTime;

    @ApiModelProperty(value = "规则名称")
    private String rulesName;

    @ApiModelProperty(value = "起步时长")
    private Integer startTime;

    @ApiModelProperty(value = "高速费")
    private BigDecimal highSpeedFee;

    @ApiModelProperty(value = "路桥费")
    private BigDecimal tollFee;

    @ApiModelProperty(value = "保险费")
    private Integer premium;

    @ApiModelProperty(value = "停车费")
    private BigDecimal parkFee;

    private Long rulesCode;
}
